package top.idetect.client.modules.cloth.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import top.idetect.client.modules.cloth.model.Flaw;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;
import java.util.concurrent.ExecutionException;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author wjh
 * @since 2024-03-15
 */
public interface FlawService extends IService<Flaw> {

    Page<Flaw> page(Integer pageSize, Integer pageNum, String keywords, String clothSerial, String classStr, String orderBy, Double realLen, Double realArea);

    Page<Flaw> pageNoImg(Integer pageSize, Integer pageNum,String clothSerial, String classStr);


    List<Map> statistic(String clothSerial) throws ExecutionException, InterruptedException;

    List<Flaw> listNoImg(String clothSerial, String classStr);

    List<Flaw> listExcel(String clothSerial, String classStr);


    List<Flaw> listImgNoNail();
}
